home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1999 / MacHack 1999.toast / The Hacks / MACtive Desktop / Source / Headers / QDContext.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-01-15  |  401 b   |  28 lines  |  [TEXT/CWIE]

  1. #ifndef _QDCONTEXT_
  2. #define _QDCONTEXT_
  3.  
  4. #include <QuickDraw.h>
  5.  
  6.  
  7. typedef class QDContext
  8. {
  9. public:
  10.     GrafPtr        fSavePort;
  11.     Point        fPenSize;
  12.     short        fPenMode;
  13.     Pattern        fPenPat;
  14.     short        fTextFont;
  15.     Style        fTextFace;
  16.     short        fTextMode;
  17.     short        fTextSize;
  18.     RGBColor    fForeColor;
  19.     RGBColor    fBackColor;
  20.     
  21.     QDContext(void);
  22.     QDContext(GrafPtr port);
  23.     ~QDContext(void);
  24. } QDContext;
  25.  
  26.  
  27. #endif /* _QDCONTEXT_ */
  28.